<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改客户资源</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
</head>
<body>
<form id="myform" class="layui-form" lay-filter="layuiadmin-form-admin" id="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
    <!--id在页面中隐藏了，前端传递给后端也传递了id值  -->
    <input type="hidden" name="id">
    <!--客户编码-->
    <div class="layui-form-item">
        <label class="layui-form-label">客户编码：</label>
        <div class="layui-input-inline">
            <input type="text" name="customer_code" value="" id="customer_code" lay-verify="required" autocomplete="off" class="layui-input">
        </div>
    </div>
    <!--销售人-->
    <div class="layui-form-item">
        <label class="layui-form-label required">销售人：</label>
        <div class="layui-input-inline">
            <input type="text" name="sale_admin" id="sale_admin" lay-verify="required" autocomplete="off" class="layui-input">
        </div>
    </div>
    <!--录入时间-->
    <div class="layui-form-item">
        <label class="layui-form-label required">录入时间：</label>
        <div class="layui-input-inline">
            <input type="text" name="entry_time" id="entry_time" autocomplete="off" class="layui-input">
        </div>
    </div>
    <!--客户姓名-->
    <div class="layui-form-item">
        <label class="layui-form-label required">客户姓名：</label>
        <div class="layui-input-inline">
            <input type="text" name="customer_name" lay-verify="required" autocomplete="off" class="layui-input">
        </div>
    </div>
    <!--性别-->
    <div class="layui-form-item" pane="">
        <label class="layui-form-label required">性别：</label>
        <div class="layui-input-block">
            <input type="radio" name="sex" value="1" title="男">
            <input type="radio" name="sex" value="2" title="女">
        </div>
    </div>
    <!--生日-->
    <div class="layui-form-item">
        <label class="layui-form-label required">生日：</label>
        <div class="layui-input-inline">
            <input type="text" name="birth" id="birth" autocomplete="off" class="layui-input">
        </div>
    </div>
    <!--客户类型-->
    <div class="layui-form-item">
        <label class="layui-form-label required">客户类型：</label>
        <div class="layui-input-inline">
            <select name="type" lay-verify="required">
                <option value="普通客户">普通客户</option>
                <option value="银卡客户">银卡客户</option>
                <option value="金卡客户">金卡客户</option>
                <option value="VIP客户">VIP客户</option>
            </select>
        </div>
    </div>
    <!--状态-->
    <div class="layui-form-item">
        <label class="layui-form-label required">状态：</label>
        <div class="layui-input-inline">
            <select name="status" lay-verify="required">
                <option value="1">启用</option>
                <option value="2">禁用</option>
                <option value="3">流失</option>
            </select>
        </div>
    </div>
    <!--手机-->
    <div class="layui-form-item">
        <label class="layui-form-label required">手机：</label>
        <div class="layui-input-inline">
            <input type="text" name="mobile_phone" autocomplete="off" class="layui-input">
        </div>
    </div>
    <!--办公电话-->
    <div class="layui-form-item">
        <label class="layui-form-label required">办公电话：</label>
        <div class="layui-input-inline">
            <input type="text" name="office_phone" autocomplete="off" class="layui-input">
        </div>
    </div>
    <!--电子邮箱-->
    <div class="layui-form-item">
        <label class="layui-form-label required">电子邮箱：</label>
        <div class="layui-input-inline">
            <input type="text" name="email" autocomplete="off" class="layui-input">
        </div>
    </div>
    <!--家庭电话-->
    <div class="layui-form-item">
        <label class="layui-form-label required">家庭电话：</label>
        <div class="layui-input-inline">
            <input type="text" name="home_phone" autocomplete="off" class="layui-input">
        </div>
    </div>
    <!--联系地址-->
    <div class="layui-form-item">
        <label class="layui-form-label required">联系地址：</label>
        <div class="layui-input-inline">
            <textarea class="layui-textarea" name="address"></textarea>
        </div>
    </div>
    <!--备注-->
    <div class="layui-form-item">
        <label class="layui-form-label required">备注：</label>
        <div class="layui-input-inline">
            <textarea class="layui-textarea" name="remark"></textarea>
        </div>
    </div>
    <!--确认提交-->
    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="LAY-user-front-submit" id="LAY-user-back-submit" value="确认">
    </div>
</form>
<script src="../../static/layui/layui.js"></script>
<script src="../../static/js/jquery-3.6.0.min.js"></script>
</body>
</html>